package com.boarsoft.boar.demo.user.service;

import com.boarsoft.boar.demo.user.entity.PocUser;

/**
 * @ClassName:  userService   
 * @Description:客户服务
 * @author: 
 * @date:   2019年2月15日 上午9:50:59   
 *     
 * @Copyright: 2019
 */
public interface PocUserService {
	
	/**
	 * @Title: add   
	 * @Description:  增加新客户
	 * @param:  tenantId
	 * @param:  user
	 * @return: boolean      
	 * @throws
	 */
	boolean add(int tenant, PocUser p);
	
	/**
	 * @Title: findById   
	 * @Description:  查找客户
	 * @param:  tenantId
	 * @param:  userId
	 * @return: PocUser      
	 * @throws
	 */
	PocUser find(int tenant, int userId);
}
